/*
 * QTimerOut.hpp
 *
 *  Created on: 2014年10月6日
 *      Author: Administrator
 */

#ifndef QTIMEROUT_HPP_
#define QTIMEROUT_HPP_

#include <bb/system/Clipboard>
#include <QTextCodec>
#include <QSettings>
#include <QTimer>
#include <QtGui/QMovie>
#include <QObject>

using namespace bb::system;

class QTimerOut: public QObject {
    Q_OBJECT

public:
    QTimerOut(QObject *parent = 0);

    Q_INVOKABLE
    void start(int interval);

    Q_INVOKABLE
    void stop();

    Q_INVOKABLE
    bool temp();

Q_SIGNALS:
    void execute();

public Q_SLOTS:
    void onQTimeOut();

private:
    QTimer *m_Timer;
};


#endif /* QTIMEROUT_HPP_ */
